package com.weishao.dbmapper.pojo;

/**
 * 数据映射类型：0-一对一映射；1-多对一映射；
 * 
 * @author tang
 *
 */
public enum TaskMapTypeEnum {
	OneByOne(0, "OneByOneMapperEngine"), MultiByOne(1, "MultByOneMapperEngine");

	private int index;

	private String engine;

	TaskMapTypeEnum(int idx, String name) {
		this.index = idx;
		this.engine = name;
	}

	public int getIndex() {
		return index;
	}

	public String getEngineName() {
		return engine;
	}
	
}
